/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86155
 * date: 2024-03-09
 * Time: 17:37
 *
 * @author
 */




class A{
    int a;
    int b;
}
class B extends A{

    int c;
    public void method(){

        c = 30;
        b = 20;

        this.a = 20;
        System.out.println(this.a);
        System.out.println(b);
        System.out.println(c);
    }
}
public class Test2 {
    public static void main(String[] args) {
        B b = new B();
        b.method();
        A a = new A();
        //System.out.println(a.a);
        //System.out.println(b.a);
    }
}
